<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <script>

        document.onclick = undefined;

        function fun() {
            console.log(1)
        }


        // var fun = function (a) {
        //     a = 1
        // }    

        // fun()


        for (; ;) {

        }


        // 1[...类数组]
        // 2 Array.from(类数组)
        // 3 Array.prototype.slice.call(类数组)
        //   Array.prototype.slice.appay(类数组)
        //   [].slice.call(类数组)
    </script>
</body>

</html>